package com.itheima.chapter10.thread.demo3;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<String> {
    @Override
    public String  call() throws Exception {
        for (int i = 0; i < 100; i++) {
            System.out.println("线程开启了"+i+"次");
        }
        return "执行完毕";
    }
}
